package com.zjp.mapper;

import com.zjp.po.Customer;

/**
 * 演示通过 MapperFactoryBean 实现 MyBatis 和 Spring 的整合
 */
public interface CustomerMapper {
    //通过id查询客户
    Customer findCustomerById(Integer id);

    //添加客户
    void addCustomer(Customer customer);
}
